package cn.edu.tju.elm.dto.wallet;

import java.math.BigDecimal;

/**
 * 钱包规则数据传输对象
 * 用于前后端或各层之间传递钱包规则相关的数据
 */
public class WalletRuleDto {
    private Long id;
    private String ruleType;
    private String ruleName;
    private BigDecimal conditionValue;
    private BigDecimal ruleValue;
    private Boolean isActive = true;
    
    // Getters and Setters
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getRuleType() {
        return ruleType;
    }
    
    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }
    
    public String getRuleName() {
        return ruleName;
    }
    
    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }
    
    public BigDecimal getConditionValue() {
        return conditionValue;
    }
    
    public void setConditionValue(BigDecimal conditionValue) {
        this.conditionValue = conditionValue;
    }
    
    public BigDecimal getRuleValue() {
        return ruleValue;
    }
    
    public void setRuleValue(BigDecimal ruleValue) {
        this.ruleValue = ruleValue;
    }
    
    public Boolean getIsActive() {
        return isActive;
    }
    
    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }
    
}